package com.zy.ivideo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel(value = "礼物实体类",description = "礼物实体类")
public class GiftEntity {
    @ApiModelProperty(value = "主键id",position = 16,example = "0")
    private int id;
    @ApiModelProperty(value = "礼物名称",position = 16,example = "youting")
    private String name;
    @ApiModelProperty(value = "礼物标题",position = 16,example = "游艇")
    private String title;
    @ApiModelProperty(value = "礼物图片地址",position = 16,example = "http://xxx.com/youting.png")
    private String imgUrl;
    @ApiModelProperty(value = "礼物金额",position = 16,example = "200")
    private int price;

    public GiftEntity() {}
    public GiftEntity(int id, String name, String title, String imgUrl, int price) {
        this.id = id;
        this.name = name;
        this.title = title;
        this.imgUrl = imgUrl;
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
